package cn.itcast.service;

import cn.itcast.dao.UserDao;
import cn.itcast.dao.UserDaoImple;
import cn.itcast.utils.JDBCUtils;
import cn.itcast.vo.User;

import java.util.List;
import java.util.Map;

public class UserService {

	public User login(User user) {
		UserDao dao = new UserDaoImple();
		return dao.login(user);
	}
	/*public User register(User user){
		UserDao dao=new UserDaoImple();
		return dao.register(user);
	}*/

}
